projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d8604c
)
(clipboard-yank): bomb out in interactive use if
author
David Kastrup
<dak@gnu.org>
Wed, 20 Sep 2006 04:13:32 +0000
(
04:13
+0000)
committer
David Kastrup
<dak@gnu.org>
Wed, 20 Sep 2006 04:13:32 +0000
(
04:13
+0000)
buffer is read-only.
lisp/ChangeLog
patch
|
blob
|
history
lisp/menu-bar.el
patch
|
blob
|
history
diff --git
a/lisp/ChangeLog
b/lisp/ChangeLog
index b4330fff5eb762748fd0a95624c4983ef0b7e844..e5d07ac56f3277f15794e2d8b1248195f0429a03 100644
(file)
--- a/
lisp/ChangeLog
+++ b/
lisp/ChangeLog
@@
-1,3
+1,8
@@
+2006-09-20 David Kastrup <dak@gnu.org>
+
+ * menu-bar.el (clipboard-yank): bomb out in interactive use if
+ buffer is read-only.
+
2006-09-18 Ken Manheimer <ken.manheimer@gmail.com>
* allout.el (allout-unprotected): Let inhibit-read-only only when
diff --git
a/lisp/menu-bar.el
b/lisp/menu-bar.el
index cc1351b903263da3f0ab818b94aef2923f7f82e1..9a89aa4240109fb1695233ca8413ee2f60ba0724 100644
(file)
--- a/
lisp/menu-bar.el
+++ b/
lisp/menu-bar.el
@@
-510,7
+510,7
@@
A large number or nil slows down menu responsiveness."
(defun clipboard-yank ()
"Insert the clipboard contents, or the last stretch of killed text."
- (interactive)
+ (interactive
"*"
)
(let ((x-select-enable-clipboard t))
(yank)))